package it.gestionedocumentale.spring.service;

import java.util.List;

import it.gestionedocumentale.model.Utente;
import it.gestionedocumentale.struts.form.UtenteForm;

public interface UtenteService {
	
	public void save(Utente transientInstance) throws Exception;
	public void delete(Utente persistentInstance) throws Exception;
	public void update(UtenteForm utenteForm) throws Exception;
	public Utente findById(Long idUtente) throws Exception;
	public List<Utente> findByExample(Utente instance) throws Exception;
	public List<Utente> findAll() throws Exception;
	public Utente findByLoginAndPassword(String login, String password) throws Exception;
	public void cancellazioneLogica(Long idUtente) throws Exception;
	public List<Utente> cercaUtente(UtenteForm utenteForm) throws Exception;
	public void inserisciNuovoUtente(UtenteForm utenteForm) throws Exception;
	public boolean controllaLoginUtente(UtenteForm utenteForm) throws Exception;
	public List<Utente> findAllActive() throws Exception;
	
}
